package com.etone.smartAudit.vo.item;

import com.etone.smartAudit.enums.ItemSourceType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: sovy
 * @date: 2020/7/30
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "ItemSourceApplyVO", description = "资源表单")
public class ItemSourceApplyVO implements Serializable {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("资源名称")
    private String name;

    @ApiModelProperty("服务器id")
    private Integer serverId;

    @ApiModelProperty("服务器名称")
    private String serverName;

    @ApiModelProperty("任务类型")
    private ItemSourceType type;

    @ApiModelProperty("服务器IP")
    private String serverIp;

    @ApiModelProperty("申请空间")
    private Double space;

    @ApiModelProperty("扩容数量")
    private Integer cnt;

    @ApiModelProperty("到期时间")
    private Date expireTime;
}
